﻿namespace WebMarkupMin.MsAjax.Configuration
{
	using System.Configuration;

	/// <summary>
	/// Configuration settings of Microsoft Ajax Minifier
	/// </summary>
	public sealed class MsAjaxConfiguration : ConfigurationSection
	{
		/// <summary>
		/// Gets a configuration settings of Microsoft Ajax CSS Minifier
		/// </summary>
		[ConfigurationProperty("css")]
		public MsAjaxCssMinificationConfiguration Css
		{
			get { return (MsAjaxCssMinificationConfiguration)this["css"]; }
		}

		/// <summary>
		/// Gets a configuration settings of Microsoft Ajax JS Minifier
		/// </summary>
		[ConfigurationProperty("js")]
		public MsAjaxJsMinificationConfiguration Js
		{
			get { return (MsAjaxJsMinificationConfiguration)this["js"]; }
		}
	}
}